<!--
 * @Descripttion:
 * @version: 1.0.0
 * @Author: 孙立政
 * @Date: 2020-07-12 01:19:05
 * @LastEditors: 孙立政
 * @LastEditTime: 2023-01-31 18:44:34
-->
<template>
  <div id="ranking-board">
    <dv-scroll-board :config="config" />
  </div>
</template>

<script>
export default {
  name: 'RankingBoard',
  props: ['data5'],
  data () {
    return {
      config: {
        header: ['大区', '用户名', '消费金额'],
        data: this.data5,
        index: true,
        columnWidth: [50],
        align: ['center'],
        rowNum: 10,
        headerBGC: '#1981f6',
        headerHeight: 45,
        oddRowBGC: 'rgba(0, 44, 81, 0.8)',
        evenRowBGC: 'rgba(10, 29, 50, 0.8)'
      }
    }
  },
  mounted () {
  }
}
</script>

<style lang="less">
#ranking-board {
  width: 20%;
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
}
</style>
